#pragma once
#include "IReader.h"
#include <iostream>


class __declspec(dllexport) FileReader : virtual public IReader
{	
private:
	FILE* FileURL;

public:
	/**
	Virtual method. Read integers number from file sourse FileURL.
	In matrix format. To param: matrixFromFile.
	*/
	virtual bool Read(MatrixData* matrixFromFile) const;
	/**
	Virtual method. Set sourse file FileURL(open file).
	Param: FileURL - char* testURL on file.
	*/
	virtual bool setrFileURL(char* FileURL);
	/**
	Constructor
	*/
	FileReader(void);
	/**
	Virtual destructor. Free FileURL pointer.
	*/
	virtual ~FileReader(void);
};

